package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface ReportMapper extends Mapper<Member> {
    @Select("SELECT COUNT(*) FROM t_member WHERE regTime <= #{month}")
    Integer countByMonth(@Param("month") String month);
}
